package com.zsw.dubbo;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.kfx.seal.dubbo.service.S_DubboQuery;


public class Seal_Consumer {
	public static void main(String[] args) {
		ClassPathXmlApplicationContext ss = new ClassPathXmlApplicationContext("seal-dubbo-consumer.xml");
    	
		S_DubboQuery demo= ss.getBean(S_DubboQuery.class);
		
		System.out.println(demo.getOfficialSealByCode("1101060000014", "娃哈哈"));
		
		ss.close();
	}
}
